// pages/Details/Details.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    user: {}
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onShow: function (options) {

    let user=wx.getStorageSync("user");
    this.setData({
      user
    });
    // let user = typeof users == "string" ? JSON.parse(users) :users;
  },
})